Scripting > CxVhs > VhsClient Helper Objects > GetNamedArrayValuesExResp Object

GetNamedArrayValuesExResp Object

The GetNamedArrayValuesExResp object is used in:

Properties

Property SubType Read Only Description

Count

Integer

Yes

Returns the number of responses in the array.

Entry

Variant

Yes

Returns the entry in the response. Entries are stored in an indexed array as HistoryEntryEx objects.

Example

Get the fifth entry:

myHistEntryEx = myResp.Entry(5)

Error

Integer

Yes

Returns the VHS error message. A value of zero indicates success. See CxVhs Error Codes.

HistoryError

Variant

Yes

Returns the history error of an entry in the array. The history error explains if there was an error in retrieval for a particular entry based on tagstring/timestamp. This field is an array of Integer subtypes.

Example

Get the history error for the fifth entry:

IntHistError = myResp.HistoryError(5)

Version

Integer

Yes

Returns the message version. This property ensures compatibility with software release versions of the VHS.


Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.